<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>Title</title>
    <script src="../jquery/jquery-3.2.1.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="../css/bootstrap.css">
</head>
<body>

<div class="container">

    <button type="button" class="btn btn-primary " id="btn_open">弹出模态框</button>

    <div class="modal" role="dialog" id="myModal">


        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title">
                        小组成员
                        <button type="button" class="close" data-dismiss="modal">&times;</button>
                    </h4>
                </div>
                <div class="modal-body">
                    <ul class="nav nav-pills nav-stacked text-center bg-success">
                        <li><a>罗强强</a></li>
                        <li><a>褚泽涛</a></li>
                        <li><a>宣萌</a></li>
                        <li><a>胡丙志</a></li>
                        <li><a>张宗艳</a></li>
                    </ul>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>

        </div>

    </div>
</div>

</body>
<script>
    $(function () {
        $("#btn_open").click(function () {
            $("#myModal").modal({
                backdrop: "static"     //点击空白不消失
            });
        });
    })
</script>
</html>